//
//  ShopCellHeadVeiw.m
//  FKGW
//
//  Created by song ce on 2017/3/13.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import "ShopCellHeadVeiw.h"
#import "UILabel+ChangeLineSpaceAndWordSpace.h"
@implementation ShopCellHeadVeiw

- (void)awakeFromNib {
    [super awakeFromNib];
    self.contentView.backgroundColor = [UIColor whiteColor];
    self.backgroundColor = [UIColor whiteColor];
  }
-(void)setModel:(ShopCellGroup *)model{
    _model = model;
    self.imageV.image = [UIImage imageNamed:_model.iconName];
    self.nameLabel.text = _model.markettype;
    //调整文字间距
    if(_model.markettype.length){
        [UILabel changeWordSpaceForLabel:self.nameLabel WithSpace:2 ];
    }
}
@end
